package date0708;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class PropertiesTest1 {
	public static void main(String[] args) throws IOException {
		Properties p=new Properties();
		Class<?> c=PropertiesTest1.class;
		InputStream in= new FileInputStream("./src//date0708//Properties");
		
		p.load(in);
		
		in.close();
		
		String driver=p.getProperty("jdbc.driver");
		
		System.out.print(driver);
	}
}
